<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
<title>코오롱</title>
<link rel="stylesheet" type="text/css" href="${requestScope.contextPath}/css/import.css" />
<script type="text/javascript" src="${requestScope.contextPath}/js/jquery-ui-1.8.14.custom/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/jquery-ui-1.8.14.custom/js/jquery-ui-1.8.14.custom.min.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/common.js"></script>
<c:set var="userAgent" value="${header['User-Agent']}" />
<fmt:setBundle basename="com.kolon.config.properties.config" var="config" />
<c:if test="${fn:indexOf(userAgent, 'Android') != -1}"><c:set var="platForm" value="Android" /></c:if>
<c:if test="${fn:indexOf(userAgent, 'iPhone') != -1}"><c:set var="platForm" value="iPhone" /></c:if>
<script type="text/javascript">
	function appBack() {
		document.location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResList.do?type=${param.type}';
	}
</script>

</head>
<body>
	<div id="wrap">
		<div class="header">
			<h1>자원예약</h1>
		</div><!-- // header -->
		<div class="content reservation">
			<h3><a href="${requestScope.contextPath}/business/mResourceRes/mResourceResList.do?type=${type}">${step}</a> <img src="${requestScope.contextPath}/images/board/arrow2.gif" alt="" style="padding-top:3px;" /> ${ResourceNM}</h3>
			<form name="searchForm" method="get" action="${requestScope.contextPath}/business/mResourceRes/mResourceResView.do" >
			<div class="select">
			<input type="hidden" name="strResourceType" value="${type}" />
			<input type="hidden" name="strResourceID" value="${catid}" />
			<input type="hidden" name="ResourceNM" value="${ResourceNM}" />
			<input type="hidden" name="ResType" value="${ResType}" />
			<select title="연도 선택" name="year" style="height:26px; font-size:14px;">
				<c:forEach var = "i" begin = "2009" end = "2020" step = "1" varStatus = "status">
					<option value="${i}" <c:if test="${i eq year}">selected="selected"</c:if> >${i}</option>
				</c:forEach>
			</select>
			<select title="월 선택" name="month" style="height:26px; font-size:14px;">
				<c:forEach var = "i" begin = "1" end = "12" step = "1">
					<c:if test='${i < 10}'><c:set var= "i" value= "0${i}" /> </c:if>
					<option value="${i}" <c:if test="${i eq month}">selected="selected"</c:if> >${i}</option>
				</c:forEach>
			</select>
			<select title="날짜 선택" name="day" style="height:26px; font-size:14px;">
				<c:forEach var = "i" begin = "1" end = "31" step = "1">
					<c:if test='${i < 10}'><c:set var= "i" value= "0${i}" /> </c:if>
					<option value="${i}" <c:if test="${i eq day}">selected="selected"</c:if> >${i}</option>
				</c:forEach>
			</select>
			&nbsp;<input type="image" src="${requestScope.contextPath}/images/btn/btn_search4.gif" alt="조회" class="input" />
			</div>
			</form>
			<div class="table1" style="border-left:solid 1px #84b6ea">
			<c:choose>
	       		<c:when test="${AMPM eq 'am'}">
	       		<!-- 오전 테이블 -->
	       		<!-- 2012.05.16 width="100%" -->
				<table summary="" cellspacing="0" width="100%">
					<caption>예약현황</caption>
					<colgroup>
						<col style="width:60px" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
					</colgroup>
					<tbody>
						<tr>
							<th scope="col" rowspan="2">장소/시간</th>
							<th scope="colgroup" colspan="5">오전</th>
							<th scope="row" class="borderNo"><a href="${requestScope.contextPath}/business/mResourceRes/mResourceResView.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=pm" class="btn_arrow"><img src="${requestScope.contextPath}/images/reservation/arrow3.gif" alt="오후보기" /></a></th>
						</tr>
						<tr>
							<th scope="col">7</th>
							<th scope="col">8</th>
							<th scope="col">9</th>
							<th scope="col">10</th>
							<th scope="col">11</th>
							<th scope="col">12</th>
						</tr>
						<tr>
							<th scope="row" class="room">${ResourceNM} <a href="${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=&selTime="><img src="${requestScope.contextPath}/images/reservation/ico_res.png" alt="" /></a></th>
							<td class="rel"
								<c:if test="${MapCnt07 == 0 or mapList07.get0700 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=7&selEndTime=8'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 7 -->
							
							<c:choose>
							   <c:when test="${MapCnt07 == 0 or mapList07.get0700 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt07 == 1}">
						           <c:choose>
								       <c:when test="${mapList07.get0700 eq '0'}"></c:when>
								       <c:when test="${mapList07.get0700 eq '0S'}"></c:when>
								       <c:when test="${mapList07.get0700 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>	
						       <c:when test="${MapCnt07 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=0700">							
							<c:if test='${mapList07.get0700 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0700 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0700 eq "0E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />
							</c:if>
							
							<c:if test='${mapList07.get0710 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0710 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0710 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />
							</c:if>
							
							<c:if test='${mapList07.get0720 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList07.get0720 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList07.get0720 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList07.get0730 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0730 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0730 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList07.get0740 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0740 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0740 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList07.get0750 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0750 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList07.get0750 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>	
							</div>
							</div>
							<!-- //7 -->						
							</td>
							<td class="rel"
								<c:if test="${MapCnt08 == 0 or mapList08.get0800 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=8&selEndTime=9'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 8 -->
							<c:choose>
							   <c:when test="${MapCnt08 == 0 or mapList08.get0800 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt08 == 1}">
						           <c:choose>
								       <c:when test="${mapList08.get0800 eq '0'}"></c:when>
								       <c:when test="${mapList08.get0800 eq '0S'}"></c:when>
								       <c:when test="${mapList08.get0800 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						      <c:when test="${MapCnt08 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
						
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=0800">
							<c:if test='${mapList08.get0800 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList08.get0800 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList08.get0800 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList08.get0810 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList08.get0810 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList08.get0810 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList08.get0820 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList08.get0820 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList08.get0820 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList08.get0830 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList08.get0830 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList08.get0830 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList08.get0840 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList08.get0840 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList08.get0840 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList08.get0850 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList08.get0850 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList08.get0850 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>	       					
							</div>
							</div>
							
							<!-- //8 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt09 == 0 or mapList09.get0900 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=9&selEndTime=10'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 9 -->
							<c:choose>
							   <c:when test="${MapCnt09 == 0 or mapList09.get0900 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt09 == 1}">
						           <c:choose>
								       <c:when test="${mapList09.get0900 eq '0'}"></c:when>
								       <c:when test="${mapList09.get0900 eq '0S'}"></c:when>
								       <c:when test="${mapList09.get0900 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						      <c:when test="${MapCnt09 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=0900">
							<c:if test='${mapList09.get0900 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList09.get0900 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList09.get0900 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList09.get0910 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList09.get0910 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList09.get0910 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList09.get0920 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList09.get0920 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList09.get0920 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList09.get0930 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList09.get0930 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList09.get0930 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList09.get0940 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList09.get0940 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList09.get0940 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList09.get0950 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList09.get0950 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList09.get0950 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>
							</div>
							</div>

							<!-- //9 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt10 == 0 or mapList10.get1000 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=10&selEndTime=11'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 10 -->
							<c:choose>
							   <c:when test="${MapCnt10 == 0 or mapList10.get1000 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt10 == 1}">
						           <c:choose>
								       <c:when test="${mapList10.get1000 eq '0'}"></c:when>
								       <c:when test="${mapList10.get1000 eq '0S'}"></c:when>
								       <c:when test="${mapList10.get1000 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt10 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1000">
							<c:if test='${mapList10.get1000 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList10.get1000 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList10.get1000 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList10.get1010 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList10.get1010 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList10.get1010 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList10.get1020 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList10.get1020 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList10.get1020 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList10.get1030 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList10.get1030 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList10.get1030 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList10.get1040 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList10.get1040 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList10.get1040 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList10.get1050 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList10.get1050 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList10.get1050 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>
							</div>
							</div>

							<!-- //10 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt11 == 0 or mapList11.get1100 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=11&selEndTime=12'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 11 -->
							<c:choose>
							   <c:when test="${MapCnt11 == 0 or mapList11.get1100 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt11 == 1}">
						           <c:choose>
								       <c:when test="${mapList11.get1100 eq '0'}"></c:when>
								       <c:when test="${mapList11.get1100 eq '0S'}"></c:when>
								       <c:when test="${mapList11.get1100 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt11 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1100">
							<c:if test='${mapList11.get1100 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList11.get1100 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList11.get1100 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList11.get1110 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList11.get1110 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList11.get1110 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList11.get1120 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList11.get1120 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList11.get1120 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList11.get1130 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList11.get1130 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList11.get1130 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList11.get1140 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList11.get1140 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList11.get1140 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList11.get1150 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList11.get1150 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList11.get1150 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>
							</div>
							</div>
							
							<!-- //11 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt12 == 0 or mapList12.get1200 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=12&selEndTime=13'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 12 -->
							<c:choose>
							   <c:when test="${MapCnt12 == 0 or mapList12.get1200 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt12 == 1}">
						           <c:choose>
								       <c:when test="${mapList12.get1200 eq '0'}"></c:when>
								       <c:when test="${mapList12.get1200 eq '0S'}"></c:when>
								       <c:when test="${mapList12.get1200 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						      <c:when test="${MapCnt12 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1200">
							<c:if test='${mapList12.get1200 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList12.get1200 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList12.get1200 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList12.get1210 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList12.get1210 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList12.get1210 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList12.get1220 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList12.get1220 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList12.get1220 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList12.get1230 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList12.get1230 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList12.get1230 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList12.get1240 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList12.get1240 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList12.get1240 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList12.get1250 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList12.get1250 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList12.get1250 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>
							</div>
							</div>
							
							<!-- //12 -->
							</td>
						</tr>						
					</tbody>
				</table>
				<!-- // 오전 테이블 -->
				</c:when>
				<c:when test="${AMPM eq 'pm'}">
				<!-- 오후 테이블 -->
				<table summary="" cellspacing="0">
					<caption>예약현황</caption>
					<colgroup>
						<col style="width:60px" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
					</colgroup>
					<tbody>
						<tr>
							<th scope="col" rowspan="2">장소/시간</th>
							<th scope="row" class="borderNo"><a href="${requestScope.contextPath}/business/mResourceRes/mResourceResView.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=am" class="btn_arrow"><img src="${requestScope.contextPath}/images/reservation/arrow4.gif" alt="오전보기" /></a></th>
							
							<th scope="colgroup" colspan="4">오후</th>
							<th scope="row" class="borderNo"><a href="${requestScope.contextPath}/business/mResourceRes/mResourceResView.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=sm" class="btn_arrow"><img src="${requestScope.contextPath}/images/reservation/arrow3.gif" alt="저녁보기" /></a></th>
						</tr>
						<tr>
							<th scope="col">13</th>
							<th scope="col">14</th>
							<th scope="col">15</th>
							<th scope="col">16</th>
							<th scope="col">17</th>
							<th scope="col">18</th>
						</tr>
						<tr>
							<th scope="row" class="room">
								<c:choose>
									<c:when test="${map.Resource_NAME != null}">
										${map.Resource_NAME}
									</c:when>
							       	<c:otherwise>
							       		${ResourceNM}
							       	</c:otherwise>
							   	</c:choose>
							   	<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=&selEndTime="><img src="${requestScope.contextPath}/images/reservation/ico_res.png" alt="" /></a>
							</th>
							<td class="rel"
								<c:if test="${MapCnt13 == 0 or mapList13.get1300 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=13&selEndTime=14'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 13 -->
							<c:choose>
							   <c:when test="${MapCnt13 == 0 or mapList13.get1300 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt13 == 1}">
						           <c:choose>
								       <c:when test="${mapList13.get1300 eq '0'}"></c:when>
								       <c:when test="${mapList13.get1300 eq '0S'}"></c:when>
								       <c:when test="${mapList13.get1300 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt13 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
						
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1300">
							<c:if test='${mapList13.get1300 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList13.get1300 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList13.get1300 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList13.get1310 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList13.get1310 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList13.get1310 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList13.get1320 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList13.get1320 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList13.get1320 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList13.get1330 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList13.get1330 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList13.get1330 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList13.get1340 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList13.get1340 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList13.get1340 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList13.get1350 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList13.get1350 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList13.get1350 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>	
							</div>
							</div>
							<!-- //13 -->
								
							</td>
							<td class="rel"
								<c:if test="${MapCnt14 == 0 or mapList14.get1400 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=14&selEndTime=15'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 14 -->
							<c:choose>
							   <c:when test="${MapCnt14 == 0 or mapList14.get1400 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt14 == 1}">
						           <c:choose>
								       <c:when test="${mapList14.get1400 eq '0'}"></c:when>
								       <c:when test="${mapList14.get1400 eq '0S'}"></c:when>
								       <c:when test="${mapList14.get1400 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt14 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1400">
							<c:if test='${mapList14.get1400 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList14.get1400 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList14.get1400 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList14.get1410 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList14.get1410 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList14.get1410 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList14.get1420 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList14.get1420 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList14.get1420 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList14.get1430 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList14.get1430 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList14.get1430 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList14.get1440 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList14.get1440 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList14.get1440 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList14.get1450 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList14.get1450 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList14.get1450 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>	
							</div>
							</div>
							<!-- //14 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt15 == 0 or mapList15.get1500 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=15&selEndTime=16'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 15 -->
							<c:choose>
							   <c:when test="${MapCnt15 == 0 or mapList15.get1500 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt15 == 1}">
						           <c:choose>
								       <c:when test="${mapList15.get1500 eq '0'}"></c:when>
								       <c:when test="${mapList15.get1500 eq '0S'}"></c:when>
								       <c:when test="${mapList15.get1500 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt15 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1500">
							<c:if test='${mapList15.get1500 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList15.get1500 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList15.get1500 eq "0E"}'>
							</c:if>
							
							<c:if test='${mapList15.get1510 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList15.get1510 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList15.get1510 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList15.get1520 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList15.get1520 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList15.get1520 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList15.get1530 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList15.get1530 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList15.get1530 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList15.get1540 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList15.get1540 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList15.get1540 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList15.get1550 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList15.get1550 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList15.get1550 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>	
							</div>
							</div>
							<!-- //15 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt16 == 0 or mapList16.get1600 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=16&selEndTime=17'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 16 -->
							<c:choose>
							   <c:when test="${MapCnt16 == 0 or mapList16.get1600 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt16 == 1}">
						           <c:choose>
								       <c:when test="${mapList16.get1600 eq '0'}"></c:when>
								       <c:when test="${mapList16.get1600 eq '0S'}"></c:when>
								       <c:when test="${mapList16.get1600 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						      <c:when test="${MapCnt16 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1600">
							<c:if test='${mapList16.get1600 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList16.get1600 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList16.get1600 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList16.get1610 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList16.get1610 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList16.get1610 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList16.get1620 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList16.get1620 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList16.get1620 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList16.get1630 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList16.get1630 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList16.get1630 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList16.get1640 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList16.get1640 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList16.get1640 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList16.get1650 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList16.get1650 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList16.get1650 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>				
							</div>
							</div>

							<!-- //16 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt17 == 0 or mapList17.get1700 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=17&selEndTime=18'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 17 -->
							<c:choose>
							   <c:when test="${MapCnt17 == 0 or mapList17.get1700 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt17 == 1}">
						           <c:choose>
								       <c:when test="${mapList17.get1700 eq '0'}"></c:when>
								       <c:when test="${mapList17.get1700 eq '0S'}"></c:when>
								       <c:when test="${mapList17.get1700 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt17 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1700">
							<c:if test='${mapList17.get1700 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList17.get1700 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList17.get1700 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList17.get1710 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList17.get1710 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList17.get1710 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList17.get1720 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList17.get1720 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList17.get1720 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList17.get1730 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList17.get1730 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList17.get1730 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList17.get1740 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList17.get1740 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList17.get1740 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList17.get1750 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList17.get1750 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList17.get1750 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>		
							</div>
							</div>
							<!-- //17 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt18 == 0 or mapList18.get1800 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=18&selEndTime=19'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 18 -->
							<c:choose>
							   <c:when test="${MapCnt18 == 0 or mapList18.get1800 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt18 == 1}">
						           <c:choose>
								       <c:when test="${mapList18.get1800 eq '0'}"></c:when>
								       <c:when test="${mapList18.get1800 eq '0S'}"></c:when>
								       <c:when test="${mapList18.get1800 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt18 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1800">
							<c:if test='${mapList18.get1800 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList18.get1800 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList18.get1800 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList18.get1810 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList18.get1810 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList18.get1810 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList18.get1820 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList18.get1820 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList18.get1820 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList18.get1830 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList18.get1830 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList18.get1830 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList18.get1840 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList18.get1840 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList18.get1840 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList18.get1850 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList18.get1850 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList18.get1850 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>			
							</div>
							</div>
							<!-- //18 -->
							</td>
						</tr>						
					</tbody>
				</table>
				<!-- // 오후 테이블 -->
				</c:when>
				<c:otherwise>
				<!-- 저녁 테이블 -->
				<table summary="" cellspacing="0">
					<caption>예약현황</caption>
					<colgroup>
						<col style="width:60px" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
						<col style="width:13%" />
					</colgroup>
					<tbody>
						<tr>
							<th scope="col" rowspan="2">장소/시간</th>
							<th scope="row" class="borderNo"><a href="${requestScope.contextPath}/business/mResourceRes/mResourceResView.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=pm" class="btn_arrow"><img src="${requestScope.contextPath}/images/reservation/arrow4.gif" alt="오후보기" /></a></th>
							
							<th scope="colgroup" colspan="5">저녁</th>
						</tr>
						<tr>
							<th scope="col">19</th>
							<th scope="col">20</th>
							<th scope="col">21</th>
							<th scope="col">22</th>
							<th scope="col">23</th>
							<th scope="col">24</th>
						</tr>
						<tr>
							<th scope="row" class="room">
								<c:choose>
									<c:when test="${map.Resource_NAME != null}">
										${map.Resource_NAME}
									</c:when>
							       	<c:otherwise>
							       		${ResourceNM}
							       	</c:otherwise>
							   	</c:choose>
							   	<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=&selEndTime="><img src="${requestScope.contextPath}/images/reservation/ico_res.png" alt="" /></a>
							</th>
							<td class="rel"
								<c:if test="${MapCnt19 == 0 or mapList19.get1900 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=19&selEndTime=20'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 19 -->
							<c:choose>
							   <c:when test="${MapCnt19 == 0 or mapList19.get1900 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt19 == 1}">
						           <c:choose>
								       <c:when test="${mapList19.get1900 eq '0'}"></c:when>
								       <c:when test="${mapList19.get1900 eq '0S'}"></c:when>
								       <c:when test="${mapList19.get1900 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt19 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
						
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=1900">
							<c:if test='${mapList19.get1900 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList19.get1900 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList19.get1900 eq "0E"}'>					
							</c:if>
							
							<c:if test='${mapList19.get1910 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList19.get1910 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList19.get1910 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList19.get1920 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList19.get1920 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList19.get1920 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList19.get1930 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList19.get1930 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList19.get1930 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList19.get1940 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList19.get1940 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList19.get1940 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList19.get1950 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList19.get1950 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList19.get1950 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>					
							</div>
							</div>

							<!-- //19 -->
								
							</td>
							<td class="rel"
								<c:if test="${MapCnt20 == 0 or mapList20.get2000 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=20&selEndTime=21'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 20 -->
							<c:choose>
							   <c:when test="${MapCnt20 == 0 or mapList20.get2000 eq '0E'}">
							   <!-- a href="${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=20&selEndTime=21"><img src="${requestScope.contextPath}/images/reservation/ico_box.png" width="34" height="34" alt="" /></a-->
						       </c:when>
						       <c:when test="${MapCnt20 == 1}">
						           <c:choose>
								       <c:when test="${mapList20.get2000 eq '0'}"></c:when>
								       <c:when test="${mapList20.get2000 eq '0S'}"></c:when>
								       <c:when test="${mapList20.get2000 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt20 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=2000">
							<c:if test='${mapList20.get2000 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList20.get2000 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList20.get2000 eq "0E"}'>
							</c:if>
							
							<c:if test='${mapList20.get2010 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList20.get2010 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList20.get2010 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList20.get2020 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList20.get2020 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList20.get2020 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList20.get2030 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList20.get2030 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList20.get2030 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList20.get2040 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList20.get2040 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList20.get2040 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList20.get2050 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList20.get2050 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList20.get2050 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>	
							</div>
							</div>

							<!-- //20 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt21 == 0 or mapList21.get2100 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=21&selEndTime=22'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 21 -->
							<c:choose>
							   <c:when test="${MapCnt21 == 0 or mapList21.get2100 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt21 == 1}">
						           <c:choose>
								       <c:when test="${mapList21.get2100 eq '0'}"></c:when>
								       <c:when test="${mapList21.get2100 eq '0S'}"></c:when>
								       <c:when test="${mapList21.get2100 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt21 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=2100">
							<c:if test='${mapList21.get2100 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList21.get2100 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList21.get2100 eq "0E"}'>
					
							</c:if>
							
							<c:if test='${mapList21.get2110 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList21.get2110 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList21.get2110 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList21.get2120 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList21.get2120 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList21.get2120 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList21.get2130 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList21.get2130 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList21.get2130 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList21.get2140 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList21.get2140 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList21.get2140 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList21.get2150 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList21.get2150 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList21.get2150 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>	
							</div>
							</div>

							<!-- //21 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt22 == 0 or mapList22.get2200 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=22&selEndTime=23'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 22 -->
							<c:choose>
							   <c:when test="${MapCnt22 == 0 or mapList22.get2200 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt22 == 1}">
						           <c:choose>
								       <c:when test="${mapList22.get2200 eq '0'}"></c:when>
								       <c:when test="${mapList22.get2200 eq '0S'}"></c:when>
								       <c:when test="${mapList22.get2200 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt22 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=2200">
							<c:if test='${mapList22.get2200 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList22.get2200 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList22.get2200 eq "0E"}'>
							</c:if>
							
							<c:if test='${mapList22.get2210 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList22.get2210 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList22.get2210 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList22.get2220 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList22.get2220 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList22.get2220 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList22.get2230 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList22.get2230 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList22.get2230 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList22.get2240 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList22.get2240 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList22.get2240 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList22.get2250 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList22.get2250 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList22.get2250 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>					
							</div>
							</div>

							<!-- //22 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt23 == 0 or mapList23.get2300 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=23&selEndTime=24'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 23 -->
							<c:choose>
							   <c:when test="${MapCnt23 == 0 or mapList23.get2300 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt23 == 1}">
						           <c:choose>
								       <c:when test="${mapList23.get2300 eq '0'}"></c:when>
								       <c:when test="${mapList23.get2300 eq '0S'}"></c:when>
								       <c:when test="${mapList23.get2300 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt23 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=2300">
							<c:if test='${mapList23.get2300 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList23.get2300 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList23.get2300 eq "0E"}'>						
							</c:if>
							
							<c:if test='${mapList23.get2310 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList23.get2310 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList23.get2310 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList23.get2320 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList23.get2320 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList23.get2320 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList23.get2330 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList23.get2330 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList23.get2330 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList23.get2340 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList23.get2340 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList23.get2340 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList23.get2350 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList23.get2350 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList23.get2350 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>				
							</div>
							</div>

							<!-- //23 -->
							</td>
							<td class="rel"
								<c:if test="${MapCnt24 == 0 or mapList24.get2400 eq '0E'}">
								style="cursor:pointer" onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResWrite.do?ResType=View&type=${type}&catid=${catid}&ResourceNM=${ResourceNMUtf}&ResourceDate=${year}-${month}-${day}&selTime=24&selEndTime=24'"	
								</c:if>
							>
							<div id="outline1">
							<div id="visual1">
							<!-- 24 -->
							<c:choose>
							   <c:when test="${MapCnt24 == 0 or mapList24.get2400 eq '0E'}">
						       </c:when>
						       <c:when test="${MapCnt24 == 1}">
						           <c:choose>
								       <c:when test="${mapList24.get2400 eq '0'}"></c:when>
								       <c:when test="${mapList24.get2400 eq '0S'}"></c:when>
								       <c:when test="${mapList24.get2400 eq '0E'}"></c:when>
								       <c:otherwise>
								          <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
								       </c:otherwise>
								   </c:choose>						           
						       </c:when>						     
						       <c:when test="${MapCnt24 > 0}">
						       <img src="${requestScope.contextPath}/images/reservation/timeYellow.png" alt="" />
						       </c:when>	
						    </c:choose>
							
							<a href="${requestScope.contextPath}/business/mResourceRes/mResourceResViewDetail.do?ResType=View&strResourceType=${type}&strResourceID=${catid}&ResourceNM=${ResourceNMUtf}&year=${year}&month=${month}&day=${day}&AMPM=${AMPM}&clickTime=2400">
							<c:if test='${mapList24.get2400 eq "0"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList24.get2400 eq "0S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							<c:if test='${mapList24.get2400 eq "0E"}'>
					
							</c:if>
							
							<c:if test='${mapList24.get2410 eq "1"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList24.get2410 eq "1S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							<c:if test='${mapList24.get2410 eq "1E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_6.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList24.get2420 eq "2"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList24.get2420 eq "2S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />							
							</c:if>
							<c:if test='${mapList24.get2420 eq "2E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_5.png" alt="" />							
							</c:if>
							
							<c:if test='${mapList24.get2430 eq "3"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList24.get2430 eq "3S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							<c:if test='${mapList24.get2430 eq "3E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_4.png" alt="" />
							</c:if>
							
							<c:if test='${mapList24.get2440 eq "4"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList24.get2440 eq "4S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							<c:if test='${mapList24.get2440 eq "4E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_3.png" alt="" />
							</c:if>
							
							<c:if test='${mapList24.get2450 eq "5"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList24.get2450 eq "5S"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_1.png" alt="" />
							</c:if>
							<c:if test='${mapList24.get2450 eq "5E"}'>
								<img src="${requestScope.contextPath}/images/reservation/timeYellow_2.png" alt="" />
							</c:if>
							</a>				
							</div>
							</div>
							<!-- //24 -->
							</td>
						</tr>						
					</tbody>
				</table>
				<!-- // 저녁 테이블 -->
				</c:otherwise>
				</c:choose>
			</div>
		</div><!-- // content -->
	</div><!-- // wrap -->
</body>
</html>